﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;

namespace AtualizadorScripts
{
    class Conexao
    {
        public object Conection { get; set; }

   
            public static SqlConnection getConnection()
            {
                string connStr;
                connStr = (ConfigurationManager.ConnectionStrings["conexao"].ConnectionString);
                SqlConnection Conection = new SqlConnection(connStr);
                
        
                    return Conection;
             
                
            
            }
         
    }
    
}